package schoolWork.work03.text5;

public class Test {
    public static void main(String[] args) {
        CanFly plane = new Airplane();
        CanFly bird = new Bird();

        makeFly(plane);
        makeFly(bird);

    }
    public static void makeFly(CanFly c){
        c.fly();
    }
}
